package com.bub.pay.outer.redis.sms;

import java.util.LinkedHashMap;

/**
 * 发送短信的接口
 * 
 * @author Leo
 *
 */
public interface SmsSender {
	/**
	 * 
	 * @Description:发送文字短信
	 * @author: Leo
	 * @return
	 */
	public boolean sendSms(String mobile, String templateId, LinkedHashMap<String, String> map) throws Exception;

	/**
	 * 
	 * @Description:发送语音短信
	 * @author: Leo
	 * @return
	 */
	public boolean sendVoiceSms(String mobile, String templateId, LinkedHashMap<String, String> map) throws Exception;
}
